Skip to content

feat: v5-tres-devtools #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: next
Choose a base branch
from
Open

feat: v5-tres-devtools #172

wants to merge 7 commits into from

Conversation

alvarosabu
Copy link
Member

WIP

- Introduced `app.config.ts` for UI configuration with color and card styles.
- Added `TheHeader.vue` component for consistent header layout with logo and navigation.
- Updated `nuxt.config.ts` to include UI Pro license configuration.
- Adjusted header height in `main.css` for improved layout.
- Enhanced `index.vue` to utilize `TheHeader` and implement tabs for scene graph and performance monitoring.
…lipboard functionality

- Introduced reactive state for inline editing of inspector values.
- Added methods for incrementing, decrementing, and updating boolean values.
- Implemented clipboard copy functionality for values and property paths.
- Updated `getInspectorGraph` to include property paths for better context.
- Enhanced `InspectorNode` interface to support full property paths.
…ement and UI feedback

- Updated `onUpdateModelValue` function to include type annotations for better TypeScript support.
- Introduced `itemsForSceneGraph` computed property to streamline scene graph data handling.
- Added a conditional alert in the template to inform users when no scene is available.
- Enhanced `SceneGraphObject` interface to include a unique `key` property for better identification.
- Updated `getInspectorGraph` function to set `defaultExpanded` property for root nodes, improving UI behavior.
- Refactored `useDevtoolsHook` to handle empty scene cases more gracefully.
…h interaction

- Introduced `createHighlightMesh` function to generate a highlight mesh for selected objects.
- Enhanced `updateSelectedObject` method to manage highlight mesh addition and removal.
- Added `HighlightMesh` class for pulsing effect on highlighted objects.
- Updated scene graph component to improve user interaction with item selection.
- Adjusted template structure for better responsiveness and interaction handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant